package test;

public class test_passByValue {
    public static void test(int a,int[] b){
        a = 20;
        b[0] = 20;
    }
    public static void main(String[] args) {
        int testNum = 10;
        int[] testArr = {10};
        test(testNum,testArr);
        System.out.println(testNum);
        System.out.println(testArr[0]);
    }
}
